/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tk.eigh.ksvg.component.text;

import ksvg.text.TextContent;
import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;

/**
 *
 * @author nt
 */
@JSFComponent(name = "svg:Text",
type = "tk.eigh.svg.Text",
family = "text.Text",
clazz = "ksvg.text.Text",
tagClass = "ksvg.text.tags.TextTag",
defaultRendererType = "SVGTextRenderer")
public abstract class AbstractText extends TextContent implements _TextProperties {

    /**
     * Value: auto | optimizeSpeed | optimizeLegibility | geometricPrecision |
     * inherit
     *<br/>
     * The creator of SVG content might want to provide a hint to the
     * implementation about what tradeoffs to make as it renders text. The
     * ‘text-rendering’ property provides these hints.
     *<br/>
     * Animatable: yes
     */
    @JSFProperty
    public abstract String getTextRendering();

    /**
     * a list of transformations
     */
    @JSFProperty
    public abstract String getTransform();

    /**
     * Value: lr-tb | rl-tb | tb-rl | lr | rl | tb | inherit
     *<br/>
     * The ‘writing-mode’ property specifies whether the initial
     * inline-progression-direction for a ‘text’ element shall be left-to-right,
     * right-to-left, or top-to-bottom. The ‘writing-mode’ property applies only
     * to ‘text’ elements; the property is ignored for ‘tspan’, ‘tref’,
     * ‘altGlyph’ and ‘textPath’ sub-elements. (Note that the
     * inline-progression-direction can change within a ‘text’ element due to
     * the Unicode bidirectional algorithm and properties ‘direction’ and
     * ‘unicode-bidi’.
     *<br/>
     * Animatable: no
     */
    @JSFProperty
    public abstract String getWritingMode();
}